<?php

namespace app\model;

use think\Model;

class DepartmentModel extends Model
{
    protected $table = "department";
    protected $pk = "department_id";
    public function classDepartmentTable() {
        return $this->hasOne("ClassDepartmentModel","department_id","department_id");
    }
}